package com.ruoyi.system.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 条码页面对象 BARCODE_PAGE
 * 
 * @author ruoyi
 * @date 2025-03-26
 */
public class BarcodePage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 菜单编号 */
    @Excel(name = "菜单编号")
    private Long menuId;

    /** 菜单编码 */
    @Excel(name = "菜单编码")
    private String menuNumber;

    /** 菜单名称 */
    @Excel(name = "菜单名称")
    private String menuName;

    /** 一级菜单分组编码 */
    @Excel(name = "一级菜单分组编码")
    private String firstmenuGroupnumber;

    /** 一级菜单分组名称 */
    @Excel(name = "一级菜单分组名称")
    private String firstmenuGroupname;

    /** 源单标识 */
    @Excel(name = "源单标识")
    private String sourceIdentifier;

    /** 源单名称 */
    @Excel(name = "源单名称")
    private String sourceName;

    /** 目标单标识 */
    @Excel(name = "目标单标识")
    private String targetIdentifier;

    /** 目标单名称 */
    @Excel(name = "目标单名称")
    private String targetName;

    /** 启用源单界面 */
    @Excel(name = "启用源单界面")
    private Long enableSourceInterface;

    /** 启用操作界面 */
    @Excel(name = "启用操作界面")
    private Long enableOperationInterface;

    /** 启用查询界面 */
    @Excel(name = "启用查询界面")
    private Long enableQueryInterface;

    /** 启用草稿界面 */
    @Excel(name = "启用草稿界面")
    private Long enableDraftInterface;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifiedBy;

    /** 修改日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date modifiedDate;

    private List<BarcodePageFieldMapping> pageFieldMappingList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMenuId(Long menuId) 
    {
        this.menuId = menuId;
    }

    public Long getMenuId() 
    {
        return menuId;
    }

    public void setMenuNumber(String menuNumber) 
    {
        this.menuNumber = menuNumber;
    }

    public String getMenuNumber() 
    {
        return menuNumber;
    }

    public void setMenuName(String menuName) 
    {
        this.menuName = menuName;
    }

    public String getMenuName() 
    {
        return menuName;
    }

    public void setFirstmenuGroupnumber(String firstmenuGroupnumber) 
    {
        this.firstmenuGroupnumber = firstmenuGroupnumber;
    }

    public String getFirstmenuGroupnumber() 
    {
        return firstmenuGroupnumber;
    }

    public void setFirstmenuGroupname(String firstmenuGroupname) 
    {
        this.firstmenuGroupname = firstmenuGroupname;
    }

    public String getFirstmenuGroupname() 
    {
        return firstmenuGroupname;
    }

    public void setSourceIdentifier(String sourceIdentifier) 
    {
        this.sourceIdentifier = sourceIdentifier;
    }

    public String getSourceIdentifier() 
    {
        return sourceIdentifier;
    }

    public void setSourceName(String sourceName) 
    {
        this.sourceName = sourceName;
    }

    public String getSourceName() 
    {
        return sourceName;
    }

    public void setTargetIdentifier(String targetIdentifier) 
    {
        this.targetIdentifier = targetIdentifier;
    }

    public String getTargetIdentifier() 
    {
        return targetIdentifier;
    }

    public void setTargetName(String targetName) 
    {
        this.targetName = targetName;
    }

    public String getTargetName() 
    {
        return targetName;
    }

    public void setEnableSourceInterface(Long enableSourceInterface) 
    {
        this.enableSourceInterface = enableSourceInterface;
    }

    public Long getEnableSourceInterface() 
    {
        return enableSourceInterface;
    }

    public void setEnableOperationInterface(Long enableOperationInterface) 
    {
        this.enableOperationInterface = enableOperationInterface;
    }

    public Long getEnableOperationInterface() 
    {
        return enableOperationInterface;
    }

    public void setEnableQueryInterface(Long enableQueryInterface) 
    {
        this.enableQueryInterface = enableQueryInterface;
    }

    public Long getEnableQueryInterface() 
    {
        return enableQueryInterface;
    }

    public void setEnableDraftInterface(Long enableDraftInterface) 
    {
        this.enableDraftInterface = enableDraftInterface;
    }

    public Long getEnableDraftInterface() 
    {
        return enableDraftInterface;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }

    public void setModifiedBy(String modifiedBy) 
    {
        this.modifiedBy = modifiedBy;
    }

    public String getModifiedBy() 
    {
        return modifiedBy;
    }

    public void setModifiedDate(Date modifiedDate) 
    {
        this.modifiedDate = modifiedDate;
    }

    public Date getModifiedDate() 
    {
        return modifiedDate;
    }

    public List<BarcodePageFieldMapping> getPageFieldMappingList() {
        return pageFieldMappingList;
    }

    public void setPageFieldMappingList(List<BarcodePageFieldMapping> pageFieldMappingList) {
        this.pageFieldMappingList = pageFieldMappingList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("menuId", getMenuId())
            .append("menuNumber", getMenuNumber())
            .append("menuName", getMenuName())
            .append("firstmenuGroupnumber", getFirstmenuGroupnumber())
            .append("firstmenuGroupname", getFirstmenuGroupname())
            .append("sourceIdentifier", getSourceIdentifier())
            .append("sourceName", getSourceName())
            .append("targetIdentifier", getTargetIdentifier())
            .append("targetName", getTargetName())
            .append("enableSourceInterface", getEnableSourceInterface())
            .append("enableOperationInterface", getEnableOperationInterface())
            .append("enableQueryInterface", getEnableQueryInterface())
            .append("enableDraftInterface", getEnableDraftInterface())
            .append("createdBy", getCreatedBy())
            .append("createdDate", getCreatedDate())
            .append("modifiedBy", getModifiedBy())
            .append("modifiedDate", getModifiedDate())
            .toString();
    }


}
